<?
	include "./common.php";

	$content = $_POST['content'];
	echo $content;
	$query = "
	insert into discussion ( nick_name, content, regdate, ip ) values
	( '".$nick_name."', '".$content."', 'now()', '".$ip."' );
	";
	mysqli_query($connect, $query);
    mysqli_close($dbc);
	header("Location:index.php");
	

?>